#!/bin/bash
work_path=$(dirname $0)
cd ${work_path}
CURRENT_PATH=$PWD
export BISHENGPATH=$CURRENT_PATH/editor
echo "set currnt workspace" $BISHENGPATH
nohup $CURRENT_PATH/bin/convert -config=config.yml >$CURRENT_PATH/temp/convert.log 2>&1 &
nohup $CURRENT_PATH/bin/main config.yml >$CURRENT_PATH/temp/editor.log 2>&1 &
nohup $CURRENT_PATH/bin/editor_app -config=config.yml >$CURRENT_PATH/temp/editor_app.log 2>&1 &
nohup $CURRENT_PATH/bin/drive -config=config.yml >$CURRENT_PATH/temp/drive.log 2>&1 &
